﻿using BP.DA;
using BP.Web;
using BP.WF.CCFast.Third.GoView;

namespace BP.WF.HttpHandler.Third
{

    public class Third_GoView : DirectoryPageBase
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public Third_GoView()
        {

        }

        public string CreateProject()
        {
            string myPk = this.GetRequestVal("myPk").Trim();
            GoviewProject goviewProject = new GoviewProject();
            goviewProject.ProjectName = myPk;
		    goviewProject.setMyPK(myPk);
            goviewProject.CreateTime = DataType.CurrentDateTimess;
		    goviewProject.CreateUserId=WebUser.No;
		    goviewProject.State=-1;
		    goviewProject.isTemplate = -1;
		    int b = goviewProject.Insert();
		    return "创建成功";
	    }
    }
}